{% extends "admin/base.html" %} {% load i18n %} {% block content %}
OPERAÇÃO DIÁRIA · {{ today|date:"d/m/Y" }}

Centro de operações

Prioridades de hoje, próximos vencimentos, cobranças e tarefas em atraso numa única página.

todayPara hoje{{ counts.today }}
date_rangePróximos 7 dias{{ counts.next_7 }}
running_with_errorsEm atraso{{ counts.overdue }}
account_balance_walletPagamentos pendentes{{ counts.payments }}
HOJE

Tarefas e renovações

{% for task in tasks_today %}task_alt
{{ task.title }}{{ task.client|default:"Sem cliente" }}
{{ task.get_priority_display }}
{% endfor %} {% for renewal in renewals_today %}event_repeat
{{ renewal.service.name }}{{ renewal.client }}
{{ renewal.sale_amount|floatformat:2 }} €
{% endfor %} {% if not tasks_today and not renewals_today %}

Sem tarefas ou renovações para hoje.

{% endif %}
VALIDAÇÃO

Pagamentos e comunicações

{% for payment in payments_validating %}fact_check
{{ payment.client }}{{ payment.renewal.service.name }} · Em validação
{{ payment.amount|floatformat:2 }} €
{% endfor %} {% for notification in notifications_pending %}notifications
{{ notification.subject|default:"Comunicação sem assunto" }}{{ notification.client }} · {{ notification.get_status_display }}
{% endfor %} {% if not payments_validating and not notifications_pending %}

Sem validações ou comunicações pendentes.

{% endif %}
PRÓXIMOS 7 DIAS

Agenda

{% for renewal in renewals_next %}
{{ renewal.service.name }}{{ renewal.client }}
{{ renewal.due_date|date:"d/m" }}
{% endfor %} {% for task in tasks_next %}
{{ task.title }}{{ task.client|default:"Sem cliente" }}
{{ task.due_date|date:"d/m" }}
{% endfor %} {% if not renewals_next and not tasks_next %}

Agenda livre nos próximos 7 dias.

{% endif %}
EM ATRASO

Ações urgentes

{% for renewal in overdue_renewals %}
{{ renewal.service.name }}{{ renewal.client }}
{{ renewal.due_date|date:"d/m" }}
{% endfor %} {% for task in overdue_tasks %}
{{ task.title }}{{ task.client|default:"Sem cliente" }}
{{ task.due_date|date:"d/m" }}
{% endfor %} {% if not overdue_renewals and not overdue_tasks %}

Sem ações em atraso.

{% endif %}
COBRANÇAS

Pagamentos pendentes

Ver todos
{% for payment in pending_payments %}
{{ payment.client }}{{ payment.get_status_display }}
{{ payment.amount|floatformat:2 }} €
{% empty %}

Sem pagamentos pendentes.

{% endfor %}
{% endblock %}